<!DOCTYPE html>
<html>
<head>
  <title>赛事数据处理</title>
  <meta charset="utf-8">
  <title>score manage</title>
  <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
  <meta http-equiv="Pragma" content="no-cache" />
  <meta http-equiv="Expires" content="0" />

  <script src="js/theme/xlsx.full.min.js"></script>
  <script src="js/theme/pptx/libs/jquery.min.js"></script>
  <script src="js/common.js?t=20250804"></script>
  <link rel="stylesheet" href="css/common.css" type="text/css">
  <script src="./version.js?t=20250804"></script>
  <script>
    let first = "";
    function back0(){
      sessionStorage.clear();
      first = "";
      $("#div-step0").fadeIn();
      $("#div-step1").hide();
      $("#first").text("");
    }
    function next0(_first){
      
      first = _first;
      DataUtils.set("first",first);
      $("#div-step0").hide();
      if (first != "global"){
        $("#div-cnat").show();
      }else{
        $("#div-cnat").hide();
      }
      $("#div-step1").fadeIn();
      
      let names = {"pre":"初级站","":"中国站","global":"全球站"};
      $("#first").text(names[_first]);
    }
    function next1(project){
      // let first = "pre";
      DataUtils.set("second",project);
      DataUtils.set("dataType",first+"_"+project);
      let t = getUrlParam("t")
      window.location.href = "/pre/index.html?t="+t;
    }
    sessionStorage.clear();
    $(function(){
      $("#version").text(`version: ${curVersion||'未定义'}`);
    })
  </script>
  <style>

    #div-step1 input,#div-step0 input {
      font-size: 20px;
    }
    .show-usad{display: none;}
  </style>
</head>
<body>
  <div style="padding-top: 20px;box-sizing: border-box;">
    <div style="text-align: center;">====================================</div>
    <div id="title" style="text-align: center;"> CNAD/P/T 赛事数据处理应用</div>
    <div id="first" style="text-align: center;"> </div>
    <div style="text-align: center;">====================================</div>
    <div id="div-step0">
            <p>
        <div style="text-align: center;">
          <input
              type="button"
              style="width:200px;height:40px;"
              value="全球站"
              name="bt10"
              onclick="next0('global')"
          >
          <div id="copyRightUsad"></div>
        </div>
        </p>
        <p>
          &nbsp
        </p>
      <p>
        <div style="text-align: center;">
          <input
              type="button"
              style="width:200px;height:40px;"
              value="中国站"
              name="bt10"
              onclick="next0('china')"
          >
          <div id="copyRightUsad"></div>
        </div>
        </p>
        <p>
          &nbsp
        </p>
        <p>
        <div style="text-align: center;">
          <input
              type="button"
              style="width:200px;height:40px;"
              value="初级站"
              name="bt5"
              onclick="next0('pre')"
          >
          <div id="copyRightUsap"></div>
        </div>
    </div>
    <div id="div-step1" style="display: none;">
      <p>
      <div style="text-align: center;">
        <input
            type="button"
            style="width:200px;height:40px;"
            value="CNAD"
            name="bt10"
            onclick="next1('cnad')"
        >
        <div id="copyRightUsad"></div>
      </div>
      </p>
      <p>
        &nbsp
      </p>
      <p>
      <div style="text-align: center;">
        <input
            type="button"
            style="width:200px;height:40px;"
            value="CNAP"
            name="bt5"
            onclick="next1('cnap')"
        >
        <div id="copyRightUsap"></div>
      </div>
      <p>
        &nbsp
      </p>
      <p>
      <div id="div-cnat" style="text-align: center; display: none;">
        <input
            type="button"
            style="width:200px;height:40px;"
            value="CNAT"
            name="bt5"
            onclick="next1('cnat')"
        >
        <div id="copyRightUsap"></div>
      </div>
  
      </p>
  
      <div style="text-align: center;margin-top: 40px;cursor: pointer; color: blue;">
        <a onclick="back0()">返回</a>
      </div>
    </div>
    <div style="position: absolute;left:0;bottom:0;width: 100%;height: 40px;text-align: center;"><span id="version"></span></div>
  </div>
  
</body>

</html>

